<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
    <div class="container-div">
    	<div class="col-sm-12 search-collapse">
				<form id="user-form">
					<input type="hidden" id="deptId" name="deptId">
	                <input type="hidden" id="parentId" name="parentId">
					<div class="select-list">
						<ul>
							<li>
								病人姓名：<input type="text" name="Patient_Name"/>
							</li>
							<li>
								<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
							    <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
							</li>
						</ul>
					</div>
				</form>
			</div>
    
		<div class="col-sm-12 select-table table-striped">
			<table id="bootstrap-table" data-mobile-responsive="true"></table>
		</div>
    </div>
    <div th:include="include :: footer"></div>
    <script th:inline="javascript">
        var prefix = ctx + "module/jianyanjg";

        $(function() {
            var options = {
                url: prefix + "/list",
                modalName: "检验结果",
                columns: [{
		            checkbox: true
		        },
				{
					field : 'id', 
					title : '',
					visible: false 
				},
				{
					field : 'Patient_Name', 
					title : '病人姓名' 
				},
				{
					field : 'patient_sex', 
					title : '性别' 
				},
				{
					field : 'patient_age', 
					title : '年龄' 
				},
				{
					field : 'patient_phone', 
					title : '手机号' 
				},
				{
					field : 'patient_card', 
					title : '身份证号' 
				},
				{
					field : 'patient_Icd', 
					title : '疾病名称' 
				},
				{
					field : 'tiwen', 
					title : '体温' 
				},
				{
					field : 'maibo', 
					title : '脉搏1分钟' 
				},
				{
					field : 'huxi', 
					title : '呼吸1分钟' 
				},
				{
					field : 'jianchaData', 
					title : '检查时间' 
				},
				{
					field : 'user_Name', 
					title : '护士姓名' 
				},
				{
					field : 'binrenQk', 
					title : '病人情况' 
				},
				{
					field : 'diandiName', 
					title : '点滴名称' 
				},
				{
					field : 'hulizhihouQk', 
					title : '护理之后情况' 
				}
		        ]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>